<%--
  Created by IntelliJ IDEA.
  User: Lenovo-樊文彬
  Date: 2021/3/31
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style type="text/css">
  body{
    width: 100%;
  }
  form{
    margin: 0 auto;
  }
  form td{
    height: 50px;
  }
  form td input{
    height: 40px;
  }
  table{
    margin: 0 auto;
    width: 270px;
    background-color: azure;
    padding: 100px 50px;
  }
  .tijiao{
    text-align: center;
    height: 50px;
    padding-top: 80px;
  }
  .tijiao input{
    width: 150px;
    font-size: 20px;
    background-color: azure;
  }
</style>
<html>
  <head>
    <title>登录页面</title>
  </head>
  <body>
  <form action="LoginServlet" method="post">
    <table>
      <tr>
        <td colspan="2" class="tijiao">
          <h1>登录</h1>
        </td>
      </tr>
      <tr>
        <td>
          <p>用户名：</p>
        </td>
        <td>
          <input id="userName" name="userName" type="text">
        </td>
      </tr>
      <tr>
        <td>
          <p>密&nbsp;码：</p>
        </td>
        <td>
          <input id="userPsw" name="userPsw" type="password">
        </td>
      </tr>
      <tr>
        <td colspan="2" class="tijiao">
          <input type="submit"  value="提交">
        </td>
      </tr>
    </table>
  </form>
  </body>
</html>
